function [ v ] = solverPoi( f, g, W)
%SOLVERPOI Summary of this function goes here
%   Detailed explanation goes here

global h;

%  verify that the sizes of f & g are the same
assert(size(f, 1) + 2 == size(g, 1));
assert(size(f, 2) + 2 == size(g, 2));

[m,n] = size(f);
A0 = prepareA(m, n, h, W);
sum(A0)
%full(A0)
f = prepareF(f, g, h, W);

%reshape(full(f), m, n)
v = reshape(solver(A0, f, m, n), m, n);

end

